#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   is_pass.py
@Time    :   2024-07-09 12:57:33
@Author  :   chakcy 
@Email   :   947105045@qq.com
@description   :   jwt放行规则
'''

def isPass(path: str) -> bool:
    """是否放行"""
    pass_range = ["/docs", "/openapi.json", "login", "register", "static"]
    for i in pass_range:
        if i in path:
            return True
    return False